<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<header>
    <meta charset="UTF-8"/>
    <title>userList</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
</header>

<body class="container">
<br/>
<h1>用户列表</h1>
<br/><br/>
<div class="with:80%">
    <table class="table table-hover">
        <thead>
        <tr>
            <th>#</th>
            <th>name</th>
            <th>email</th>
            <th>type</th>
            <th>message</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="player : ${players}">
            <th scope="row" th:text="${player.id}">1</th>
            <td th:text="${player.name}">neo</td>
            <td th:text="${player.email}">Otto</td>
            <td th:text="${player.type}">6</td>
            <td th:text="${player.message}">6</td>
        </tr>
        </tbody>
    </table>
</div>

</body>
</html>